package com.wwg.market.ui.service.dto;

import com.wwfish.gwt.reflection.util.IFishDto;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2011-11-10
 * Time: 18:15:51
 * To change this template use File | Settings | File Templates.
 */
public class CategoryDto extends BaseDto{
    private Long parentId;
    private String name;
    private String code;
    private String description;
//    private List<AttributeDto> attributes;
    private List<CategoryDto> children;

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<CategoryDto> getChildren() {
        return children;
    }

    public void setChildren(List<CategoryDto> children) {
        this.children = children;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

//    public List<AttributeDto> getAttributes() {
//        return attributes;
//    }
//
//    public void setAttributes(List<AttributeDto> attributes) {
//        this.attributes = attributes;
//    }
    
}
